﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XjjXmm.Spider.Entity
{
    [SugarTable("spider_site")]
    internal class SpiderSite
    {
        [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// 爬的网站
        /// </summary>
        [SugarColumn(ColumnName = "site_code")]
        public string SiteCode { get; set; }

        /// <summary>
        /// 爬的网站
        /// </summary>
        [SugarColumn(ColumnName = "site_url")]
        public string SiteUrl { get; set; }

        /// <summary>
        /// 最后爬取完成时间
        /// </summary>
        [SugarColumn(ColumnName = "fetch_time")]
        public DateTime? FetchTime { get; set; }
    }
}
